How To Host, Secure, and Deliver Static Websites on Amazon Web Services by Kyle Galbraith

How To Host, Secure, and Deliver Static Websites on Amazon Web Services by Kyle Galbraith

Author:Kyle Galbraith [Galbraith, Kyle]
Language: eng
Format: epub
Published: 2018-07-19T23:00:00+00:00


The bait has been placed in our static website for those bad bots. A bad bot will read the robots file, see the disallow path, and navigate to the /honey url.

Create A Lambda Function For Updating Our WAF Condition

To actually block those pesky bots that misbehave we need to create a Lambda function. Our function will pull the IP address from the request and then add it to our block-ip-list .

Before we dive into creating the Lambda function we need to create the IAM role for the function.

Navigate to IAM in the AWS Console.

Click Policies.

Click Create policy.

Click the JSON tab and enter the following policy document.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.